package com.cuitrip.business.home.favorite;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.cuitrip.business.home.IndexActivity;
import com.cuitrip.service.R;
import com.lab.app.BaseActivity;
import com.lab.app.customui.CustomUiConfig;
import com.lab.app.customui.CustomUiFragmentActivity;
import com.lab.utils.ImageHelper;

import butterknife.ButterKnife;
import butterknife.Bind;
import butterknife.OnClick;

/**
 * Created by baziii on 15/8/11.
 */
public class FavorityUnvaliableActivity extends CustomUiFragmentActivity {

    @Bind(R.id.ct_confirm_tv)
    TextView ctConfirmTv;

    public static void start(Context context, String iamge) {
        context.startActivity(new Intent(context, FavorityUnvaliableActivity.class));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState,R.layout.ct_favorite_unvaliable);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.ct_confirm_tv)
    public void onConfirm() {
        IndexActivity.gotoTab(this,IndexActivity.FAV_TAB_INDEX);
        finish();

    }

    @Override
    public boolean initCloseTopBar() {
        return false;
    }

    @Override
    public CustomUiConfig initCustomUiConfig() {
        CustomUiConfig config=new CustomUiConfig();
        config.mTopbarMiddleAreaName=getString(R.string.main_nav_favorites);
        return config;
    }
}
